package com.xunyin.modules.mtuserbalance.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.xunyin.domain.BaseDomain;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.math.BigDecimal;

/**
 * 用户门店余额表
 * <p>
 * Created by xunyin
 * CopyRight 讯音云商 https://www.tonetn.com
 *
 * @date 2023-04-24
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("mt_user_balance")
@ApiModel(value = "MtUserBalance对象", description = "用户门店余额表")
public class MtUserBalance extends BaseDomain {

    /**
     * 用户门店余额ID
     */
    @TableId
    @ApiModelProperty(value = "用户门店余额ID")
    private Integer id;

    /**
     * 用户ID
     */
    private Integer userId;

    /**
     * 门店ID
     */
    private Integer storeId;

    /**
     * 用户门店余额
     */
    private BigDecimal userBalance;
}
